import Vue from 'vue'
import Router from 'vue-router'
import welcome from '@/components/welcome.vue'
import section1 from 'section1/index.vue'
import section2 from 'section2/index.vue'
import section3 from 'section3/index.vue'
import section4 from 'section4/index.vue'
import section5 from 'section5/index.vue'

Vue.use(Router)

export default new Router({
  routes: [
    { path: '/', name: 'welcome', component: welcome },
    { path: '/section1', name: 'section1', component: section1 },
    { path: '/section2', name: 'section2', component: section2 },
    { path: '/section3', name: 'section3', component: section3 },
    { path: '/section4', name: 'section4', component: section4 },
    { path: '/section5', name: 'section5', component: section5 }
  ]
})
